# # import numpy as np
# # from sklearn.linear_model import LinearRegression
# #
# # a = list(range(0,100))
# # from scipy import stats
# # print(stats.describe(a))
# #
# # x = np.array([5,15,25,35,45,55]).reshape((-1,1))
# # y = np.array([5,20,14,32,22,38])
# # model = LinearRegression()
# # r_sq = model.score(x,y)
# # print('coefficient of determination:', r_sq)
#
# # import numpy as np
# # from sklearn.linear_model import LinearRegression
# #
# # x = [[0, 1], [5, 1], [15, 2], [25, 5], [35, 11], [45, 15], [55, 34], [60, 35]]
# # y = [4, 5, 20, 14, 32, 22, 38, 43]
# # x, y = np.array(x), np.array(y)
# # print(x)
# # print(y)
#
# # video_time = '01:01'
# # video_time = video_time.replace(':', '分') + '秒'
# #
# # if video_time[3] == '0':
# #     lst_viedoTime = list(video_time)
# #     lst_viedoTime.pop(3)
# #     video_time = "".join(lst_viedoTime)
# # if video_time[0] == '0':
# #     lst_viedoTime = list(video_time)
# #     lst_viedoTime.pop(0)
# #     video_time = "".join(lst_viedoTime)
# #     print(video_time)
#
# # video_time = '01:21'
# # lst_videoTime = list(video_time)
# # video_minute = int(lst_videoTime[0] + lst_videoTime[1])
# # video_second = int(lst_videoTime[3] + lst_videoTime[4])
# # # print(video_second)
# # print('\n视频总时长为：' + str(video_minute) + '分' + str(video_second) + '秒')
#
# # last_video = 'https://swxykdsx.daixiwangluo.com/user/node?nodeId=1422467'
# # last_video_id = int(last_video.replace('https://swxykdsx.daixiwangluo.com/user/node?nodeId=',''))
# # latest_video = 'https://swxykdsx.daixiwangluo.com/user/node?nodeId=1422469'
#
#
# # latest_video = last_video[:-1] + str(int(last_video[-1]) + 1)
# # print(latest_video)
# # latest_video = last_video[:-1] + str(int(last_video[-1]) + 1)
# # latest_video = last_video[:-1] + str(int(last_video[-1]) + 1)
# # print(latest_video)
#
#
# # video_model = 'https://swxykdsx.daixiwangluo.com/user/node?nodeId='
# # video_id = int(latest_video.replace('https://swxykdsx.daixiwangluo.com/user/node?nodeId=','')) + 1
# # latest_video = video_model + str(video_id)
# # print(latest_video)
#
# import time
#
# from selenium import webdriver
# from selenium.common import exceptions
# from selenium.webdriver.common.by import By
# from selenium.webdriver.edge.service import Service
#
# # 账号信息
# account = '20207598'
# password = 'Hxh20011214'
#
# # 登录链接（戴希实训）
# Login_Url = 'https://swxykdsx.daixiwangluo.com/user/login'
#
# # 选择浏览器
# s = Service(r'/Users/caiyoupeng00/Desktop/msedgedriver')
# driver = webdriver.Edge(service=s)
#
# # 设置窗体大小
# driver.set_window_size(height=600, width=400)
#
# # 导向登录链接
# driver.get(Login_Url)
#
# # 输入账号密码，勾选保持登录
# driver.find_element(By.XPATH, '//*[@id="username"]').send_keys(account)
# driver.find_element(By.XPATH, '//*[@id="password"]').send_keys(password)
# driver.find_element(By.XPATH, '//*[@id="remember"]').click()
#
#
# # 验证码控制台人工请求输入
# def withCheckIn():
#     verify = input('请输入登录验证码：')
#     driver.find_element(By.XPATH, '//*[@id="code"]').send_keys(verify)
#     driver.find_element(By.XPATH, '//*[@id="loginForm"]/div/div[5]/div/input[2]').click()
#     print('等待系统进一步指示...请稍后...')
#     driver.implicitly_wait(2)
#
#
# def adjustVerify():
#     try:
#         driver.find_element(By.XPATH, '/html/body/div[3]/div[2]/div[2]/div[1]/div[4]/div/div/div[2]/div[1]/a').click()
#     except exceptions.NoSuchElementException:
#         print(exceptions)
#         driver.find_element(By.XPATH, '/html/body/div[3]/div[3]/a').click()
#         print('验证码错误！请看清楚了好好输入！')
#         return withCheckIn()
#
#
# withCheckIn()
# adjustVerify()
# time.sleep(5)
# print('Test Pass')
#
# def circulation():
#     global latest_video
#
#     # 获取网课名称文本信息
#     video_message = latest_video.replace('https://swxykdsx.daixiwangluo.com', '')
#
#     # 输出控制台
#     print('\n当前页面网课为：' + driver.find_element(By.XPATH, f'//a[@href="{video_message}"]').text)
#
#     print('\n操作：播放视频（请检查视频有没有被正确播放...）')
#     driver.find_element(By.XPATH, '/html/body/div[3]/div[2]/div/div[2]/div[2]/div[2]/div/div/div[9]/canvas').click()
#
#     display_time = driver.find_element(By.XPATH,
#                                        '/html/body/div[3]/div[2]/div/div[2]/div[2]/div[2]/div/div/div[2]/div[8]').text
#
#     lst_videoTime = list(display_time.replace('00:00 / ', ''))
#     video_minute = int(lst_videoTime[0] + lst_videoTime[1])
#     video_second = int(lst_videoTime[3] + lst_videoTime[4])
#     video_time = 1
#
#     # 输出提示
#     print('\n视频总时长为：' + str(video_minute) + '分' + str(video_second) + '秒')
#
#     # 等待下一步介入时长
#     time.sleep(video_minute * 60 + video_second + 5)
#
#     print('正在跳转下一网课...')
#
#     # 更新下一个网课
#     # latest_video = last_video[:-1] + str(int(last_video[-1]) + 1)
#     video_model = 'https://swxykdsx.daixiwangluo.com/user/node?nodeId='
#     video_id = int(latest_video.replace('https://swxykdsx.daixiwangluo.com/user/node?nodeId=', '')) + 1
#     latest_video = video_model + str(video_id)
#
# try:
#     while True:
#         circulation()
#         i = 1
#         print('已经成功学习' + i + '个视频！')
#         i = i + 1
# except Exception:
#     print(Exception)
#     pass
# print("自动化操作出现异常，请检查网课是否完成")
# driver.maximize_window()
# time.sleep(1000)
#
#
# url = 'http://digit.chuangnengkeji.com/'
# replace_url = (f'{url}')[:-10]
# print(replace_url)
from past.builtins import raw_input

test = raw_input('...')
print(test)